package org.fle4y.example.aio.chat;

import org.fle4y.framework.net.aio.AIOServer;

/**
 * author : xiehui<br>
 * company : northking <br>
 * Create at: 2012-6-13<br>
 * @version : 1.0<br>
 * mailto:flexie@foxmail.com<br>
 *  Description : 用来演示AIO框架的例子的服务端
 */
public class Server {
	public static void main(String[] args) {
		AIOServer server = new AIOServer(new ChatProtocal(),new ChatLogicHandler());
		try {
			server.start();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
